#ifndef CONTACTLISTTOOLITEM_H
#define CONTACTLISTTOOLITEM_H

#include <QWidget>

namespace Ui {
class ContactListToolItem;
}

class ContactListToolItem : public QWidget
{
    Q_OBJECT

public:
    explicit ContactListToolItem(QWidget *parent = nullptr, QString icon = "", QString text = "");
    ~ContactListToolItem();

public slots:
    void slot_RedPointVisible(bool);

signals:
    void sig_clicked();

private:
    Ui::ContactListToolItem *ui;
    bool _showRedPoint;

    // QWidget interface
protected:
    virtual void paintEvent(QPaintEvent *event) override;

    // QWidget interface
protected:
    virtual void mousePressEvent(QMouseEvent *event) override;
};

#endif // CONTACTLISTTOOLITEM_H
